3.2.99 \(\int x^{-3-3 n} (a x^2+b x^3)^n \, dx\)

Optimal. Leaf size=70 \[ \frac {b x^{-3 (n+1)} \left (a x^2+b x^3\right )^{n+1}}{a^2 (n+1) (n+2)}-\frac {x^{-3 n-4} \left (a x^2+b x^3\right )^{n+1}}{a (n+2)} \]

________________________________________________________________________________________

Rubi [A]  time = 0.05, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {2016, 2014} \begin {gather*} \frac {b x^{-3 (n+1)} \left (a x^2+b x^3\right )^{n+1}}{a^2 (n+1) (n+2)}-\frac {x^{-3 n-4} \left (a x^2+b x^3\right )^{n+1}}{a (n+2)} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^(-3 - 3*n)*(a*x^2 + b*x^3)^n,x]

[Out]

-((x^(-4 - 3*n)*(a*x^2 + b*x^3)^(1 + n))/(a*(2 + n))) + (b*(a*x^2 + b*x^3)^(1 + n))/(a^2*(1 + n)*(2 + n)*x^(3*
(1 + n)))

Rule 2014

Int[((c_.)*(x_))^(m_.)*((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> -Simp[(c^(j - 1)*(c*x)^(m - j
+ 1)*(a*x^j + b*x^n)^(p + 1))/(a*(n - j)*(p + 1)), x] /; FreeQ[{a, b, c, j, m, n, p}, x] &&  !IntegerQ[p] && N
eQ[n, j] && EqQ[m + n*p + n - j + 1, 0] && (IntegerQ[j] || GtQ[c, 0])

Rule 2016

Int[((c_.)*(x_))^(m_.)*((a_.)*(x_)^(j_.) + (b_.)*(x_)^(n_.))^(p_), x_Symbol] :> Simp[(c^(j - 1)*(c*x)^(m - j +
 1)*(a*x^j + b*x^n)^(p + 1))/(a*(m + j*p + 1)), x] - Dist[(b*(m + n*p + n - j + 1))/(a*c^(n - j)*(m + j*p + 1)
), Int[(c*x)^(m + n - j)*(a*x^j + b*x^n)^p, x], x] /; FreeQ[{a, b, c, j, m, n, p}, x] &&  !IntegerQ[p] && NeQ[
n, j] && ILtQ[Simplify[(m + n*p + n - j + 1)/(n - j)], 0] && NeQ[m + j*p + 1, 0] && (IntegersQ[j, n] || GtQ[c,
 0])

Rubi steps

\begin {align*} \int x^{-3-3 n} \left (a x^2+b x^3\right )^n \, dx &=-\frac {x^{-4-3 n} \left (a x^2+b x^3\right )^{1+n}}{a (2+n)}-\frac {b \int x^{-2-3 n} \left (a x^2+b x^3\right )^n \, dx}{a (2+n)}\\ &=-\frac {x^{-4-3 n} \left (a x^2+b x^3\right )^{1+n}}{a (2+n)}+\frac {b x^{-3 (1+n)} \left (a x^2+b x^3\right )^{1+n}}{a^2 (1+n) (2+n)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.02, size = 44, normalized size = 0.63 \begin {gather*} -\frac {x^{-3 n-4} (a n+a-b x) \left (x^2 (a+b x)\right )^{n+1}}{a^2 (n+1) (n+2)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^(-3 - 3*n)*(a*x^2 + b*x^3)^n,x]

[Out]

-((x^(-4 - 3*n)*(a + a*n - b*x)*(x^2*(a + b*x))^(1 + n))/(a^2*(1 + n)*(2 + n)))

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.07, size = 0, normalized size = 0.00 \begin {gather*} \int x^{-3-3 n} \left (a x^2+b x^3\right )^n \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[x^(-3 - 3*n)*(a*x^2 + b*x^3)^n,x]

[Out]

Defer[IntegrateAlgebraic][x^(-3 - 3*n)*(a*x^2 + b*x^3)^n, x]

________________________________________________________________________________________

fricas [A]  time = 0.42, size = 70, normalized size = 1.00 \begin {gather*} -\frac {{\left (a b n x^{2} - b^{2} x^{3} + {\left (a^{2} n + a^{2}\right )} x\right )} {\left (b x^{3} + a x^{2}\right )}^{n} x^{-3 \, n - 3}}{a^{2} n^{2} + 3 \, a^{2} n + 2 \, a^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-3-3*n)*(b*x^3+a*x^2)^n,x, algorithm="fricas")

[Out]

-(a*b*n*x^2 - b^2*x^3 + (a^2*n + a^2)*x)*(b*x^3 + a*x^2)^n*x^(-3*n - 3)/(a^2*n^2 + 3*a^2*n + 2*a^2)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int {\left (b x^{3} + a x^{2}\right )}^{n} x^{-3 \, n - 3}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-3-3*n)*(b*x^3+a*x^2)^n,x, algorithm="giac")

[Out]

integrate((b*x^3 + a*x^2)^n*x^(-3*n - 3), x)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 50, normalized size = 0.71 \begin {gather*} -\frac {\left (a n -b x +a \right ) \left (b x +a \right ) x^{-3 n -2} \left (b \,x^{3}+a \,x^{2}\right )^{n}}{\left (n +2\right ) \left (n +1\right ) a^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(-3-3*n)*(b*x^3+a*x^2)^n,x)

[Out]

-(b*x^3+a*x^2)^n*x^(-2-3*n)*(a*n-b*x+a)*(b*x+a)/(n+2)/(n+1)/a^2

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int {\left (b x^{3} + a x^{2}\right )}^{n} x^{-3 \, n - 3}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-3-3*n)*(b*x^3+a*x^2)^n,x, algorithm="maxima")

[Out]

integrate((b*x^3 + a*x^2)^n*x^(-3*n - 3), x)

________________________________________________________________________________________

mupad [B]  time = 5.28, size = 98, normalized size = 1.40 \begin {gather*} -{\left (b\,x^3+a\,x^2\right )}^n\,\left (\frac {x\,\left (n+1\right )}{x^{3\,n+3}\,\left (n^2+3\,n+2\right )}-\frac {b^2\,x^3}{a^2\,x^{3\,n+3}\,\left (n^2+3\,n+2\right )}+\frac {b\,n\,x^2}{a\,x^{3\,n+3}\,\left (n^2+3\,n+2\right )}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a*x^2 + b*x^3)^n/x^(3*n + 3),x)

[Out]

-(a*x^2 + b*x^3)^n*((x*(n + 1))/(x^(3*n + 3)*(3*n + n^2 + 2)) - (b^2*x^3)/(a^2*x^(3*n + 3)*(3*n + n^2 + 2)) +
(b*n*x^2)/(a*x^(3*n + 3)*(3*n + n^2 + 2)))

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(-3-3*n)*(b*x**3+a*x**2)**n,x)

[Out]

Timed out

________________________________________________________________________________________